package com.huaxin.device.dto.request;

import com.huaxin.device.dto.request.base.BasePageReqDTO;
import com.huaxin.hxenum.validation.ValidActiveStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class EquipmentModelPageListReqDTO extends BasePageReqDTO {

    @Schema(description = "型号编码", example = "SCB10")
    private String modelCode;

    @Schema(description = "型号名称", example = "干式变压器")
    private String modelName;

    @Schema(description = "生产厂家", example = "特变电工")
    private String manufacturer;

    @Schema(description = "状态：ACTIVE-启用，INACTIVE-停用", example = "ACTIVE")
    @ValidActiveStatus
    private String status;

    @Schema(description = "组织ID", example = "c123e456-789a-bcde-f012-3456789abcde")
    private String orgId;

    @Schema(description = "关键字查询，支持型号编码、名称、说明", example = "变压器")
    private String keyword;
}